package cn.edu.xmu.visionclick.entity;

public enum Rank {
	Easy,
	Normal,
	Hard;
	
	public static Rank parse(int r){
		if(r == 0){
			return Rank.Easy;
		}else
			if(r == 1){
				return Rank.Normal;
			}else
				if(r == 2){
					return Rank.Hard;
				}
		return Rank.Easy;
	}
}
